package com.homework.Tools;

import java.util.Calendar;

public class cal_week {
  public static void main(String[] args) {
    //1921年7月23日是星期几？
      Calendar c = Calendar.getInstance();
      c.set(1921, Calendar.JULY, 23);
      int Week = c.get(Calendar.DAY_OF_WEEK);
      System.out.println(Week);
  }
}
